package com.mail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mail.common.DataResult;
import com.mail.dto.EmailTemplatesDto;
import com.mail.pojo.EmailTemplates;

import java.util.Map;

public interface EmailTemplatesService extends IService<EmailTemplates> {
    DataResult addEmailTemplates(EmailTemplatesDto emailTemplatesDto);

    DataResult updateEmailTemplates(Map<String,Object> map);

    DataResult deleteEmailTemplates(long id);

    DataResult queryEmailTemplatesPage(Map<String,Object> map);

    DataResult queryEmailTemplatesPersonal(Map<String,Object> map);
}
